<?php
namespace Home\Controller;
use Think\Controller;
class ArticleController extends BaseController {
    public function lst(){
        $data = D('Article')->search();

        $this->assign(array(
            'count'=>$data['count'],
            'data' => $data['data'],
            'page' => $data['page'],
        ));

        $this->display();
    }

}